package com.example.study.api;

import com.example.study.api.fallback.UserRemoteClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @description：
 * @author: liqiancheng
 * @createTime: 2021/8/19 9:53
 **/
@FeignClient(value = "eureka-client-user-service",fallback = UserRemoteClientFallback.class)
public interface UserRemoteClient {

    @GetMapping("/user/hello")
    String hello();
}
